package com.example.crm.service;

import com.example.crm.entity.Right;
import com.example.crm.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zz
 * @since 2024-06-06
 */
public interface IRoleService extends IService<Role> {
    /**
     * 查询角色权限
     */
    Role selectRolePermission(Long roleId);

    boolean del(Long roleId);
}
